* search.c (find_newline): Return byte position in bytepos.
authorDmitry Antipov <dmantipov@yandex.ru>
Wed, 20 Feb 2013 05:18:20 +0000 (09:18 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Wed, 20 Feb 2013 05:18:20 +0000 (09:18 +0400)
commitb85586ae0b8e0f48152f249e409ac16c4107d834
treec02723e2d4c0fc27d3cb1a831a25ea5b18b47191
parent45ad332f05104d41c5c540f14df091c4a40d4d3b
* search.c (find_newline): Return byte position in bytepos.
Adjust comment.
(find_next_newline_no_quit, find_before_next_newline): Add
bytepos argument.
* lisp.h (find_newline, find_next_newline_no_quit)
(find_before_next_newline): Adjust prototypes.
* bidi.c (bidi_find_paragraph_start):
* editfns.c (Fconstrain_to_field, Fline_end_position):
* indent.c (compute_motion, vmotion):
* xdisp.c (back_to_previous_line_start, forward_to_next_line_start):
(get_visually_first_element, move_it_vertically_backward):
Adjust users and avoid calls to CHAR_TO_BYTE where appropriate.
lisp/emacs-lisp/cl-loaddefs.el
src/ChangeLog
src/bidi.c
src/editfns.c
src/indent.c
src/lisp.h
src/search.c
src/xdisp.c